PXC Documentation

PXC Home

Draw Bar / Graph

pre 1.18

Plot graph or bar chart from array of number.

Node Data

Display name

Draw Bar / Graph

Internal name

Node_Plot_Linear

Inheritances

Node_Processor
Node_Plot_Linear

Inputs

vec2

Dimension

Data

float

Data

float

Value Offset

bool

Flip Value

enum

Trim Mode

range

Range

float

Sample Frequency

int

Window Size

float

Window Offset

Plot

enum

Type

vec2

Origin

rotation

Direction

path

Path

float

Scale

float

Radius

bool

Loop

slider

Smooth

bool

Clockwise

Shape

float

Graph Thickness

float

Bar Width

float

Spacing

bool

Rounded Bar

float

Exploded

slider

Donut Radius

float

Donut Separation

Color

color

Base Color

gradient

Color Over Sample

gradient

Color Over Value

range

Value Range

bool

Absolute

Background

bool

Background

color

Background Color

Outputs

surface

Surface Out

Attributes

Color Depth

Bar/Graph node is used to plot graph using array of number. While initialliy created for audio visualization, it can be use to create interesting shape as well.



Data Processing


Value OffsetAdd or subtract all values with a fixed amount.
Flip ValueInvert the sign of the data.
Trim ModeSet the data trimming mode.
RangeRange of the data trimming.
Sample FrequencySample data at every N values instead of all values.


Plot Properties


TypeSet the type of plot.
OriginThe origin position.
DirectionThe direction where each subsequence data go.
PathThe path to draw the plot on. If using path, the Direction property will be disabled.
ScaleThe scale of the plot.


The graph type open up to more controls:


LoopAdd line connecting the last and first data.
SmoothSmooth out the value with moving average.


Render Properties


Properties in this section are all related to rendering.


Base ColorBase color of the plot
Color Over SampleColor to blend per each value (based on the index)
Color Over ValueColor to blend based on the value
Value RangeThe range for the Color Over Value property. e.g. if the range is [0, 10] then value 5 will correspond to the middle of the gradient
AbsoluteApply absolute to the value before calculating Color Over Value
Bar WidthThe width of each bar
Rounded BarUse capsule bar shape instead of rectangle
Graph ThicknessThe thickness of the graph line
SpacingThe distance between each data point
BackgroundBackground Color



Commit History


1.14.4
  • Introduced

Related Links